home *** CD-ROM | disk | FTP | other *** search
-
-
-
- llllssssttttwwwwiiiidddd((((3333GGGG)))) llllssssttttwwwwiiiidddd((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- llllssssttttwwwwiiiidddd - returns the width of the specified text string
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn ssssttttrrrrwwwwiiiidddd((((ttttyyyyppppeeee,,,, ssssttttrrrr,,,, lllleeeennnnggggtttthhhh))))
- iiiinnnntttteeeeggggeeeerrrr****4444 ttttyyyyppppeeee
- cccchhhhaaaarrrraaaacccctttteeeerrrr****((((****)))) ssssttttrrrr
- iiiinnnntttteeeeggggeeeerrrr****4444 lllleeeennnnggggtttthhhh
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _t_y_p_e expects one of the following symbolic constants defined in
- <_g_l/_f_g_l._h>:
-
- Each character is represented by
- a single unsigned byte.
- STRB
-
- Each character is represented by
- two, consecutive unsigned bytes.
- The first byte is most
- significant.
- STR2B
-
-
-
- Each character is represented by
- three, consecutive unsigned
- bytes. The first byte is most
- significant. The last byte is
- least significant.
- STR3B
-
-
-
-
- Each character is represented by
- four, consecutive unsigned bytes.
- The first byte is most
- significant. The last byte is
- least significant.
- STR4B
-
-
-
-
- Each character is represented by
- a 16-bit unsigned integer.
- STR16
-
- Each character is represented by
- a 32-bit unsigned integer.
- STR32
-
-
-
- _s_t_r expects the name of the string whose width is to be computed.
- The contents of the string should be consistent with respect to
- the _t_y_p_e parameter.
-
- _l_e_n_g_t_h expects the number of characters in the string that is to be
- measured.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- llllssssttttwwwwiiiidddd returns the width of a text string in pixels, using the character
- spacing parameters of the current raster font.
-
- Multi-byte types (2B, 3B and 4B) are converted to character values using
- the following formulas for character iiii in unsigned byte-string ssss:
-
- STR2B: (s[2*i]*256) + s[2*i+1]
- STR3B: ((s[3*i]*256) + s[3*i+1])*256 + s[3*i+2]
- STR4B: (((s[4*i]*256) + s[4*i+1])*256) + s[4*i+2])*256 + s[4*i+3]
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- llllssssttttwwwwiiiidddd((((3333GGGG)))) llllssssttttwwwwiiiidddd((((3333GGGG))))
-
-
-
- Undefined characters have zero width.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- deflfo, getlwi, lchstr, mapw, mapw2
-
- NNNNOOOOTTTTEEEE
- This routine is available only in immediate mode.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-